<template>
  <div id="app">
    <router-link to="/login">登录</router-link>
  </div>
</template>

<script>
/*
import axios from 'axios'
export default {
  name: 'app',
  data () {
    return {
      loginName: '',
      password: ''
    }
  },
  methods: {
    login() {
      //
      console.log('login btn click')
      axios.post('/login', {
        loginName: this.loginName,
        password: this.password
      }).then(function(response) {
        console.log(response)
      })
    }
  }
}
*/
</script>

<style>

</style>